// 配置编译环境和线上环境之间的切换

let baseUrl = '';
const iconfontVersion = ['567566_qo5lxgtishg', '667895_v7uduh4zui']
const iconfontUrl = `/cdn/iconfont/1.0.0/font_$key.css`
let codeUrl = `${baseUrl}/code`
const env = process.env
let showYear = false
if (env.NODE_ENV == 'development') {
    baseUrl = ``; // 开发环境地址
    showYear = true;
} else if (env.NODE_ENV == 'production') {
    baseUrl = ``; //生产环境地址
} else if (env.NODE_ENV == 'test') {
    baseUrl = ``; //测试环境地址
}
export {
    baseUrl,
    iconfontUrl,
    iconfontVersion,
    codeUrl,
    showYear,
    env
}